package com.space.entity;

import java.util.List;

public class Rflight {
	private List<Flight> flightList;
	private int pageCount;

	public Rflight() {
	}

	public Rflight(List<Flight> flightList, int pageCount) {
		this.flightList = flightList;
		this.pageCount = pageCount;
	}

	public List<Flight> getFlightList() {
		return flightList;
	}

	public void setFlightList(List<Flight> flightList) {
		this.flightList = flightList;
	}

	public int getPageCount() {
		return pageCount;
	}

	public void setPageCount(int pageCount) {
		this.pageCount = pageCount;
	}

	@Override
	public String toString() {
		return "Rflight{" +
				"flightList=" + flightList +
				", pageCount=" + pageCount +
				'}';
	}
}
